Error Handling
Keepz API errors follow a standardized format. Each error is returned with an HTTP status code (in the response header) and a JSON body:
{
"message": "Client not found for given id.",
"statusCode": 5003
}
Fields:
| Parameter | Type | Description |
|---|---|---|
message | string | Human-readable error description. |
statusCode | number | Unique error code assigned by Keepz. |
| Status code | Message |
|---|---|
| 5003 | Client not found for given id. |
| 5006 | Failed to update CREDO distributor transaction status, transaction not found! |
| 5013 | Invalid grant type! |
| 5015 | Client balance not found with given client id. |
| 5017 | Transaction with such unique ID already exists! |
| 5021 | Incorrect credentials. |
| 5023 | Invalid IBAN. |
| 5033 | Distribution strategy not found for given type. |
| 5038 | Couldn't make transaction. Insufficient balance amount. |
| 5039 | Not valid method argument. |
| 5040 | Unhandled general exception. |
| 5041 | Receiver user not found with given receiverId and receiverType. |
| 5042 | Method argument type mismatch. |
| 5043 | Http message not readable. |
| 5045 | Amount below minimum transaction amount. |
| 5046 | Amount above maximum transaction amount. |
| 5047 | Permission not found for debtor params. |
| 5048 | Permission not found for integrator custom distribution iban. |
| 5050 | Currency not allowed! |
| 5051 | Currency config not found for given client. |